package com.leyou.mall.data.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author xhh
 * @since 2022-07-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="MallSortSecondary对象", description="")
public class MallSortSecondary implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "次级分类id")
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "次级id")
    private Integer sortId;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "图片长度")
    private String pictureUrl;

      @TableField(fill = FieldFill.INSERT)
    private Date insertTime;

      @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date modifiedTime;

    @TableLogic
    private Integer deleted;


}
